package com.qx.grainmall.cart.feign;

import com.qx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("grainmall-product")
@RequestMapping("product/skuinfo")
public interface SkuInfoFeignService {


    /**
     * sku信息
     */
    @RequestMapping("/info/{skuId}")
    // @RequiresPermissions("product:skuinfo:info")
    public R info(@PathVariable("skuId") Long skuId);

    /**
     * 商品销售属性信息
     */
    @RequestMapping("/stringlist/{skuId}")
    public List<String> stringlist(@PathVariable("skuId") Long skuId);


}
